package com.ruoyi.caigou.mapper;

import java.util.List;
import com.ruoyi.caigou.domain.BuyComparePrice;

/**
 * 采购比价Mapper接口
 * 
 * @author lvql
 * @date 2024-11-01
 */
public interface BuyComparePriceMapper 
{
    /**
     * 查询采购比价
     * 
     * @param id 采购比价主键
     * @return 采购比价
     */
    public BuyComparePrice selectBuyComparePriceById(Integer id);

    /**
     * 查询采购比价列表
     * 
     * @param buyComparePrice 采购比价
     * @return 采购比价集合
     */
    public List<BuyComparePrice> selectBuyComparePriceList(BuyComparePrice buyComparePrice);

    /**
     * 新增采购比价
     * 
     * @param buyComparePrice 采购比价
     * @return 结果
     */
    public int insertBuyComparePrice(BuyComparePrice buyComparePrice);

    /**
     * 修改采购比价
     * 
     * @param buyComparePrice 采购比价
     * @return 结果
     */
    public int updateBuyComparePrice(BuyComparePrice buyComparePrice);

    /**
     * 删除采购比价
     * 
     * @param id 采购比价主键
     * @return 结果
     */
    public int deleteBuyComparePriceById(Integer id);

    /**
     * 批量删除采购比价
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBuyComparePriceByIds(Integer[] ids);
}
